﻿using Lcygcc.Infrastructure.Repository;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Lcygcc.Domain.Repository.Entity
{
    /// <summary>
    /// 人员表
    /// </summary>
    public class ControlPerson : BaseEntity
    {
        public int Id
        {
            get;
            set;
        }
        public string PGUID
        {
            get;
            set;
        }
        public int NumberType
        {
            get;
            set;
        }
        public string IDNumber
        {
            get;
            set;
        }
        public string PersonNo
        {
            get;
            set;
        }
        public string PersonName
        {
            get;
            set;
        }
        public string NativePlace
        {
            get;
            set;
        }
        public string Birthday
        {
            get;
            set;
        }
        public string Address
        {
            get;
            set;
        }
        public int Gender
        {
            get;
            set;
        }
        public int Type
        {
            get;
            set;
        }
        public string Duty
        {
            get;
            set;
        }
        public string VIP
        {
            get;
            set;
        }
        public string RID
        {
            get;
            set;
        }
        public string RFullPath
        {
            get;
            set;
        }
        [SugarColumn(IsIgnore = true), NotMapped]
        public string RFullPaths
        {
            get;
            set;
        }
        public string RoomNo
        {
            get;
            set;
        }
        public string Relationship
        {
            get;
            set;
        }
        public DateTime EnterTime
        {
            get;
            set;
        }
        public string Mobile
        {
            get;
            set;
        }
        public string Email
        {
            get;
            set;
        }
        public string Tel
        {
            get;
            set;
        }
        public string PhotoPath
        {
            get;
            set;
        }
        public int Status
        {
            get;
            set;
        }
        public string Remark
        {
            get;
            set;
        }
        public string EmergencyContact
        {
            get;
            set;
        }
        public string Tel1
        {
            get;
            set;
        }
        public string Tel2
        {
            get;
            set;
        }
        public DateTime CreateTime
        {
            get;
            set;
        }
        public string Nation
        {
            get;
            set;
        }
        public bool IsIssueCard
        {
            get;
            set;
        }
        public bool IsParkService
        {
            get;
            set;
        }
        public bool IsDoorService
        {
            get;
            set;
        }
        public bool CanInOut
        {
            get;
            set;
        }
        public string ServiceKey
        {
            get;
            set;
        }
        public string LastKey
        {
            get;
            set;
        }
        public string CurKey
        {
            get;
            set;
        }
        public string KeyAvailableTime
        {
            get;
            set;
        }
        [SugarColumn(IsIgnore = true), NotMapped]
        public string Plates
        {
            get;
            set;
        }
        [SugarColumn(IsIgnore = true), NotMapped]
        public string VoucherTypes
        {
            get;
            set;
        }
        [SugarColumn(IsIgnore = true), NotMapped]
        public string OrganizationNo
        {
            get;
            set;
        }
        public string PersonId
        {
            get;
            set;
        }
    }

}
